﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class Jd_Service_Model
    {
        public string id { get; set; }

        public DateTime Addtime { get; set; }

        public string show_data { get; set; }
        /// <summary>
        /// 京东凭据
        /// </summary>
        public string merchantNo { get; set; }

        public string BaseUserId { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int ordercount { get; set; }
        /// <summary>
        /// 实际收款
        /// </summary>
        public decimal pay_fee { get; set; }
        /// <summary>
        /// 商户收益
        /// </summary>
        public decimal get_fee { get; set; }
        /// <summary>
        /// 手续费
        /// </summary>
        public decimal Charge { get; set; }
        /// <summary>
        /// 用户当前费率
        /// </summary>
        public decimal user_Rate { get; set; }
        public string merchantName { get; set; }
        public string orderStatus { get; set; }
        public string remark { get; set; }
        public string settleAccountNo { get; set; }
        public string settleDate { get; set; }
        public string settleFee { get; set; }
        public string settleType { get; set; }
        public string settlementAmount { get; set; }
        public decimal? total_refund_fee { get; set; }
    }

    public class get_jd_result_params
    {
        public string month { get; set; } = DateTime.Now.ToString("yyyy-MM");
        public string merchantNo { get; set; }

        public string orderStatus { get; set; }
        public bool IsPage { get; set; } = true;
        public int page { get; set; } = 1;
        public int pagesize { get; set; } = 40;
    }
}
